package org.jeecg.modules.wlhy.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: hy_customer_bill
 * @Author: jeecg-boot
 * @Date:   2021-01-20
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class HyCustomerBillDTO extends HyCustomerBill implements Serializable {
    private static final long serialVersionUID = 1L;

    private String createTime_begin;
    private String createTime_end;

    /**司机id*/
    @Excel(name = "司机姓名", width = 15)
    @ApiModelProperty(value = "司机姓名")
    private String driverName;
    @Excel(name = "司机手机号", width = 15)
    @ApiModelProperty(value = " 手机号 ")
    private java.lang.String telephone;
    /**车辆id*/
    @Excel(name = "车辆牌照", width = 15)
    @ApiModelProperty(value = "车辆牌照")
    private String vehicleNumber;

    @Excel(name = "管理模式", width = 15,dicCode = "order_mode")
    @Dict(dicCode = "order_mode")
    @ApiModelProperty(value = "订单模式(1管理费模式2撮合模式3差价)")
    private String orderMode;

    //查询时增加运单号字段
    @Excel(name = "运单号", width = 15)
    private String shippingNoteNumber;

//    @Excel(name = "经纪人", width = 15, dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
    @Dict(dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
    @ApiModelProperty(value = "经纪人")
    private String agentId;
}
